
package org.cn.springcloudvv.cxf.client;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 3.5.0
 * 2022-04-12T22:23:45.388+08:00
 * Generated source version: 3.5.0
 *
 */
public final class WebServiceUserImpl_WebServiceUserImplPort_Client {

    private static final QName SERVICE_NAME = new QName("http://impl.service.cxf.springcloudvv.cn.org/", "WebServiceUserImplService");

    private WebServiceUserImpl_WebServiceUserImplPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = WebServiceUserImplService.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }

        WebServiceUserImplService ss = new WebServiceUserImplService(wsdlURL, SERVICE_NAME);
        WebServiceUserImpl port = ss.getWebServiceUserImplPort();

        {
        System.out.println("Invoking addUser...");
        org.cn.springcloudvv.cxf.client.User _addUser_arg0 = null;
        org.cn.springcloudvv.cxf.client.User _addUser__return = port.addUser(_addUser_arg0);
        System.out.println("addUser.result=" + _addUser__return);


        }
        {
        System.out.println("Invoking getUser...");
        org.cn.springcloudvv.cxf.client.User _getUser_arg0 = null;
        org.cn.springcloudvv.cxf.client.User _getUser__return = port.getUser(_getUser_arg0);
        System.out.println("getUser.result=" + _getUser__return);


        }

        System.exit(0);
    }

}
